//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.graphreport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("onl_graphreport_templet")
public class OnlGraphreportTemplet implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String templetCode;
    private String templetName;
    private String templetStyle;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    private String createBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;
    private String updateBy;

    public OnlGraphreportTemplet() {
    }

    public String getId() {
        return this.id;
    }

    public String getTempletCode() {
        return this.templetCode;
    }

    public String getTempletName() {
        return this.templetName;
    }

    public String getTempletStyle() {
        return this.templetStyle;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setTempletCode(final String templetCode) {
        this.templetCode = templetCode;
    }

    public void setTempletName(final String templetName) {
        this.templetName = templetName;
    }

    public void setTempletStyle(final String templetStyle) {
        this.templetStyle = templetStyle;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }

    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }

    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setUpdateBy(final String updateBy) {
        this.updateBy = updateBy;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlGraphreportTemplet)) {
            return false;
        } else {
            OnlGraphreportTemplet other = (OnlGraphreportTemplet)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label107;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label107;
                    }

                    return false;
                }

                Object this$templetCode = this.getTempletCode();
                Object other$templetCode = other.getTempletCode();
                if (this$templetCode == null) {
                    if (other$templetCode != null) {
                        return false;
                    }
                } else if (!this$templetCode.equals(other$templetCode)) {
                    return false;
                }

                Object this$templetName = this.getTempletName();
                Object other$templetName = other.getTempletName();
                if (this$templetName == null) {
                    if (other$templetName != null) {
                        return false;
                    }
                } else if (!this$templetName.equals(other$templetName)) {
                    return false;
                }

                label86: {
                    Object this$templetStyle = this.getTempletStyle();
                    Object other$templetStyle = other.getTempletStyle();
                    if (this$templetStyle == null) {
                        if (other$templetStyle == null) {
                            break label86;
                        }
                    } else if (this$templetStyle.equals(other$templetStyle)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label79;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$createBy = this.getCreateBy();
                    Object other$createBy = other.getCreateBy();
                    if (this$createBy == null) {
                        if (other$createBy == null) {
                            break label72;
                        }
                    } else if (this$createBy.equals(other$createBy)) {
                        break label72;
                    }

                    return false;
                }

                Object this$updateTime = this.getUpdateTime();
                Object other$updateTime = other.getUpdateTime();
                if (this$updateTime == null) {
                    if (other$updateTime != null) {
                        return false;
                    }
                } else if (!this$updateTime.equals(other$updateTime)) {
                    return false;
                }

                Object this$updateBy = this.getUpdateBy();
                Object other$updateBy = other.getUpdateBy();
                if (this$updateBy == null) {
                    if (other$updateBy != null) {
                        return false;
                    }
                } else if (!this$updateBy.equals(other$updateBy)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlGraphreportTemplet;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $templetCode = this.getTempletCode();
//        result = result * 59 + ($templetCode == null ? 43 : $templetCode.hashCode());
//        Object $templetName = this.getTempletName();
//        result = result * 59 + ($templetName == null ? 43 : $templetName.hashCode());
//        Object $templetStyle = this.getTempletStyle();
//        result = result * 59 + ($templetStyle == null ? 43 : $templetStyle.hashCode());
//        Object $createTime = this.getCreateTime();
//        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
//        Object $createBy = this.getCreateBy();
//        result = result * 59 + ($createBy == null ? 43 : $createBy.hashCode());
//        Object $updateTime = this.getUpdateTime();
//        result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());
//        Object $updateBy = this.getUpdateBy();
//        result = result * 59 + ($updateBy == null ? 43 : $updateBy.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlGraphreportTemplet(id=" + this.getId() + ", templetCode=" + this.getTempletCode() + ", templetName=" + this.getTempletName() + ", templetStyle=" + this.getTempletStyle() + ", createTime=" + this.getCreateTime() + ", createBy=" + this.getCreateBy() + ", updateTime=" + this.getUpdateTime() + ", updateBy=" + this.getUpdateBy() + ")";
//    }
}
